]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
specify geometries on the test clients so they don't end up with their title
authorDan Winship <danw@src.gnome.org>
Thu, 6 Nov 2008 17:44:01 +0000 (17:44 +0000)
committerDan Winship <danw@src.gnome.org>
Thu, 6 Nov 2008 17:44:01 +0000 (17:44 +0000)
bars under the panel

svn path=/trunk/; revision=34

scripts/start-in-Xephyr

index 88c79a3b1b628035bac6eaf8b4891c5e29f3c3fe..4b5ad28ec14ab6e8519d3144aa04775f45fe1c42 100755 (executable)
@@ -46,10 +46,11 @@ try:
     # Wait for server to get going: LAME
     time.sleep(1)
 
-    # Start xterm to have some window in our session
-    subprocess.Popen(["xterm"])
-    subprocess.Popen(["xlogo"])
-    subprocess.Popen(["xeyes"])
+    # Start some windows in our session. Specify explicit geometries
+    # so we don't end up with the title bars underneath the panel
+    subprocess.Popen(["xterm", "-geometry", "+30+30"])
+    subprocess.Popen(["xlogo", "-geometry", "-0-0"])
+    subprocess.Popen(["xeyes", "-geometry", "-0+30"])
 
     # Now launch metacity-clutter with our plugin
     shell = launcher.start_shell()